package entity;

import java.sql.Timestamp;

public class Like {
    private int id;
    private int userId;
    private int blogId;
    private int commentId;
    private Timestamp createdTime;

    public Like() {
    }

    public Like(int id, int userId, int blogId, int commentId, Timestamp createdTime) {
        this.id = id;
        this.userId = userId;
        this.blogId = blogId;
        this.commentId = commentId;
        this.createdTime = createdTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getBlogId() {
        return blogId;
    }

    public void setBlogId(int blogId) {
        this.blogId = blogId;
    }

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public Timestamp getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Timestamp createdTime) {
        this.createdTime = createdTime;
    }
}
